projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2889ff
)
(split_font_name): Handle `[...]' for the right
author
Gerd Moellmann
<gerd@gnu.org>
Tue, 15 May 2001 10:42:18 +0000
(10:42 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Tue, 15 May 2001 10:42:18 +0000
(10:42 +0000)
font name fields.
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 68371ef2293d6cf06cb63f9a6924c5e3c779d741..676f1d772547a77cb24dfeb14cb03d5081c83de7 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-2215,8
+2215,8
@@
split_font_name (f, font, numeric_p)
indicated by tilde characters which we replace with
`-' characters, here. */
if (*p == '['
- && (i == XLFD_PIXEL_SIZE
- || i == XLFD_POINT_SIZE))
+ && (i
- 1
== XLFD_PIXEL_SIZE
+ || i
- 1
== XLFD_POINT_SIZE))
{
char *start, *end;
int j;